package cn.snmp.mutual.org.opennms.protocols.snmp;

import cn.snmp.mutual.uk.stack.ListeningContextPool;

public class ContextPoolHandler {
    private static ContextPoolHandler m_Instance;
    public ListeningContextPool defTrap;

    public static ContextPoolHandler getInstance() {
        if (ContextPoolHandler.m_Instance == null) {
            ContextPoolHandler.m_Instance = new ContextPoolHandler();
        }
        return ContextPoolHandler.m_Instance;
    }

    public void init() {
        this.defTrap = new ListeningContextPool(162, "", "Standard");
    }

    public ListeningContextPool getListeningContextPool() {
        return this.defTrap;
    }

    static {
        ContextPoolHandler.m_Instance = null;
    }
}
